package com.ft.oa.enums;

/**
 * @author liyansheng
 * @title: ManagerEnum
 * @projectName oa
 * @description: 增加数据权限过滤枚举
 * @date 2022/3/8 18:11
 */
public enum ManagerEnum {
    // 利用构造函数传参
    GENERAL(0), MANAGER(1);

    // 定义私有变量
    private int nCode ;

    // 构造函数，枚举类型只能为私有
    private ManagerEnum( int _nCode) {
        this . nCode = _nCode;
    }

    @Override
    public String toString() {
        return String.valueOf ( this . nCode );
    }
}
